Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Issue #66 : Added a switch on dashboard to disable new signups but keep allowing logins #74

Closed
wants to merge 1 commit into from

Conversation

kabir276
Copy link
Contributor

Fixes Issue #66

Description
I've added a switch on dashboard to disable new signups but keep allowing logins. I've created a pull request for your review. Please let me know if this is what you envisioned. If not, I'm happy to make further adjustments.

No new dependencies were added.

Copy link

vercel bot commented Jun 11, 2024

@kabir276 is attempting to deploy a commit to the Stack Team on Vercel.

A member of the Team first needs to authorize it.

N2D4 added a commit that referenced this pull request Aug 10, 2024
@N2D4 N2D4 closed this Aug 10, 2024
@kabir276 kabir276 deleted the signuptoggle branch August 10, 2024 02:53
N2D4 added a commit that referenced this pull request Aug 10, 2024
fomalhautb added a commit that referenced this pull request Aug 12, 2024
* Team invitation (#171)

* team invitation wip

* implemented handler

* team invitation callback wip

* added team invitation frontend

* fixed listCurrentUserTeamPermissions

* added team invitation email template

* fixed bugs

* fixed verification code handler

* added more checks to team invitation verification

* fixed team invitation page

* restructured verification code handler

* fixed frontend

* fixed team invitation tests

* added more team invitation test

* fixed bug

* added migration file

* removed unused code

* Allow Next.js version `latest` in package.json

* Fix typo

* Update error message

* Remove unnecessary console.warn

* Updated "edit this page" button

* Hide unsupported properties from docs

* OAuth token tests

* Fix typo

* added create user button

* added create user button (#173)

* added basic team settings

* Create SECURITY.md

* added editable text

* added more team settings

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* added list users on client

* updated team-settings

* hide team setting component for now

* Fix: Improve error handling for Server API (#170)

* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <[email protected]>
Co-authored-by: Zai Shi <[email protected]>

* added ensureClientUserAuthenticated

* improved error handling

* removed unused imports

* fixed bug

* added member list

* Sign up restriction button on dashboard

Fix #66, #74

* moved data table to stack-ui

* added remove user modal

* fixed chokidar

* updated ui

* fixed merge

* fixed merge

* fixed merge

* updated settings component

* improved mobile styles

* added user invitation ui

* added team creation page

* added team creation to team component

* added setting icon to team switcher

* added settings sections

* added client_team_creation_enabled

* added frontend team creation enabled checks

* updated demo page

* added member profile update

* fixed profile editing

* added leave team button

* added create/delete team redirect

* fixed column header, updated team setting

* fixed account setting padding

* updated tests

---------

Co-authored-by: Stan Wohlwend <[email protected]>
Co-authored-by: Fahad Khan <[email protected]>
Co-authored-by: Fahad Khan <[email protected]>
fomalhautb added a commit that referenced this pull request Aug 28, 2024
* Team invitation (#171)

* team invitation wip

* implemented handler

* team invitation callback wip

* added team invitation frontend

* fixed listCurrentUserTeamPermissions

* added team invitation email template

* fixed bugs

* fixed verification code handler

* added more checks to team invitation verification

* fixed team invitation page

* restructured verification code handler

* fixed frontend

* fixed team invitation tests

* added more team invitation test

* fixed bug

* added migration file

* removed unused code

* Allow Next.js version `latest` in package.json

* Fix typo

* Update error message

* Remove unnecessary console.warn

* Updated "edit this page" button

* Hide unsupported properties from docs

* OAuth token tests

* Fix typo

* added create user button (#173)

* Create SECURITY.md

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* Fix: Improve error handling for Server API (#170)

* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <[email protected]>
Co-authored-by: Zai Shi <[email protected]>

* Sign up restriction button on dashboard

Fix #66, #74

* Fix type error

* TOTP 2FA endpoints

* TOTP MFA components

* Improved description for disabling sign ups

* Added 'allowedErrorTypes' for error propagation

---------

Co-authored-by: Zai Shi <[email protected]>
Co-authored-by: Stan Wohlwend <[email protected]>
Co-authored-by: Fahad Khan <[email protected]>
fomalhautb added a commit that referenced this pull request Sep 14, 2024
)

* Team invitation (#171)

* team invitation wip

* implemented handler

* team invitation callback wip

* added team invitation frontend

* fixed listCurrentUserTeamPermissions

* added team invitation email template

* fixed bugs

* fixed verification code handler

* added more checks to team invitation verification

* fixed team invitation page

* restructured verification code handler

* fixed frontend

* fixed team invitation tests

* added more team invitation test

* fixed bug

* added migration file

* removed unused code

* Allow Next.js version `latest` in package.json

* Fix typo

* Update error message

* Remove unnecessary console.warn

* Updated "edit this page" button

* Hide unsupported properties from docs

* OAuth token tests

* Fix typo

* added create user button (#173)

* Create SECURITY.md

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* Fix: Improve error handling for Server API (#170)

* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <[email protected]>
Co-authored-by: Zai Shi <[email protected]>

* Sign up restriction button on dashboard

Fix #66, #74

* Fix type error

* TOTP 2FA endpoints

* TOTP MFA components

* Improved description for disabling sign ups

* Removed 'selected_team_id' from create user schema

---------

Co-authored-by: Zai Shi <[email protected]>
Co-authored-by: Stan Wohlwend <[email protected]>
Co-authored-by: Fahad Khan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants